<--!  +----------------------------------------------------------------------
 | BhAdmin [ BhAdmin匠心打造，我们相信，每个伟大的软件都有一个伟大的故事 ]
 +----------------------------------------------------------------------
 | Copyright (c) 2020~2023 https://www.bhadmin.cn All rights reserved.
 +----------------------------------------------------------------------
 | Licensed BhAdmin并不是自由软件，未经许可不能去掉BhAdmin相关版权
 +----------------------------------------------------------------------
 | Author: BAIHU  <\\admin@bhadmin.cn>
 +----------------------------------------------------------------------
--! >

<template>
  <div class="bh-container">
    <LevelTable
        ref="table"
        @open-add="() => modal.openAdd()"
        @open-update="(e) => modal.openUpdate(e)"
    ></LevelTable>
    <!-- 新增编辑职级模态框  -->
    <LevelFrom ref="modal" @restart="() => table.restartCallback()"></LevelFrom>
  </div>
</template>
<script setup lang="ts">
import LevelTable from './components/table.vue';
import LevelFrom from './components/from.vue';

const table = ref();
const modal = ref();
</script>
<style scoped lang="less">

</style>